/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DataAccess;

import java.sql.Connection;

/**
 *
 * @author dung
 */
public class connection {
    public static Connection conn;
    public void getConn(){
        conn = DBUtil.getConnection(DBUtil.getInfoDB());
    }
     public void connClose() {
        try {
            conn.close();
            conn = null;
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
